package repository;

import java.util.List;

import model.User;

import org.springframework.data.mongodb.repository.MongoRepository;

public interface UserRepository extends MongoRepository<User, String> {
	public User findByUsername(String username);
	public List<User> findAll();
}
